md "c:\mongodb\db"
md "c:\mongodb\log"
echo logpath=C:\mongodb\log\mongo.log >> c:\mongodb\mongod.cfg
echo dbpath=c:\mongodb\db >> c:\mongodb\mongod.cfg
C:\mongodb\mongod.exe --config c:\mongodb\mongod.cfg --install
net start MongoDB

pause
